package cn.jjxx.modules.fm.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.fm.mapper.FmFundPlanMapper;
import cn.jjxx.modules.fm.entity.FmFundPlan;
import cn.jjxx.modules.fm.service.IFmFundPlanService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 上报资金
 * @Description: 上报资金
 * @author TianShixi
 * @date 2021-07-16 09:31:17
 * @version V1.0   
 *
 */
@Transactional
@Service("fmFundPlanService")
public class FmFundPlanServiceImpl  extends CommonServiceImpl<FmFundPlanMapper,FmFundPlan> implements  IFmFundPlanService {

	@Override
	public boolean insertBatch(List<FmFundPlan> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<FmFundPlan> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
